#!/bin/bash

cp com2tcp_server /mnt/NFS/
cp com2tcp_server /mnt/tftp/

if [ -f "./password.txt" ]; then
    echo -e "${CYAN}ssh push file ${NC}"
    sshpass -f ./password.txt scp com2tcp_server root@[240e:3bb:a90:b840:4f77:62e2:284e:2ae8]:/home/cat/software/com2TCP/com2tcp_server.new
fi


